package com.zc.operator.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 汽车库对象 charge_car
 *
 * @author glb
 * @date 2023-05-26
 */
public class ChargeCar extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 汽车id */
    private Long carId;

    /** 汽车名称 */
    @Excel(name = "汽车名称")
    private String carName;

    /** 汽车编号 */
    @Excel(name = "汽车编号")
    private String carCode;

    /** 汽车图表 */
    @Excel(name = "汽车图表")
    private String carImage;

    /** 汽车类型（字典） */
    @Excel(name = "汽车类型", readConverterExp = "字=典")
    private String carType;

    /** 汽车标识（字典） */
    @Excel(name = "汽车标识", readConverterExp = "字=典")
    private String carMark;

    /** 车牌号码 */
    private String carNo;

    /** 生产年份 */
    private String production;

    /** 续航里程 */
    private String mileage;

    /** 充电次数 */
    private String chargNumber;

    /** 品牌 */
    private String brand;

    /** 添加人 */
    private String createName;

    /** 修改人 */
    private String updateName;

    /** 用户openid */
    private String customCode;

    /** 用户昵称 */
    private String customName;


    public void setCarId(Long carId)
    {
        this.carId = carId;
    }

    public Long getCarId()
    {
        return carId;
    }
    public void setCarName(String carName)
    {
        this.carName = carName;
    }

    public String getCarName()
    {
        return carName;
    }
    public void setCarCode(String carCode)
    {
        this.carCode = carCode;
    }

    public String getCarCode()
    {
        return carCode;
    }
    public void setCarImage(String carImage)
    {
        this.carImage = carImage;
    }

    public String getCarImage()
    {
        return carImage;
    }
    public void setCarType(String carType)
    {
        this.carType = carType;
    }

    public String getCarType()
    {
        return carType;
    }
    public void setCarMark(String carMark)
    {
        this.carMark = carMark;
    }

    public String getCarMark()
    {
        return carMark;
    }

    public String getCarNo() {
        return carNo;
    }

    public void setCarNo(String carNo) {
        this.carNo = carNo;
    }

    public String getProduction() {
        return production;
    }

    public void setProduction(String production) {
        this.production = production;
    }

    public String getMileage() {
        return mileage;
    }

    public void setMileage(String mileage) {
        this.mileage = mileage;
    }

    public String getChargNumber() {
        return chargNumber;
    }

    public void setChargNumber(String chargNumber) {
        this.chargNumber = chargNumber;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    public String getCustomCode() {
        return customCode;
    }

    public void setCustomCode(String customCode) {
        this.customCode = customCode;
    }

    public String getCustomName() {
        return customName;
    }

    public void setCustomName(String customName) {
        this.customName = customName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("carId", getCarId())
                .append("parentId", getParentId())
                .append("carName", getCarName())
                .append("carCode", getCarCode())
                .append("carImage", getCarImage())
                .append("carType", getCarType())
                .append("carMark", getCarMark())
                .toString();
    }
}
